
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CureMedicine;
import cn.edu.scau.cmi.hombio.domain.CureMethod;
import cn.edu.scau.cmi.hombio.domain.Medicine;
import cn.edu.scau.cmi.hombio.domain.Unit;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for CureMedicine entities
 * 
 */
public interface CureMedicineService {

	/**
	* Save an existing CureMethod entity
	* 
	 */
	public CureMedicine saveCureMedicineCureMethod(Integer id, CureMethod related_curemethod);

	/**
	 */
	public CureMedicine findCureMedicineByPrimaryKey(Integer id_1);

	/**
	* Delete an existing CureMethod entity
	* 
	 */
	public CureMedicine deleteCureMedicineCureMethod(Integer curemedicine_id, Integer related_curemethod_id);

	/**
	* Delete an existing Unit entity
	* 
	 */
	public CureMedicine deleteCureMedicineUnit(Integer curemedicine_id_1, Integer related_unit_id);

	/**
	* Delete an existing Medicine entity
	* 
	 */
	public CureMedicine deleteCureMedicineMedicine(Integer curemedicine_id_2, Integer related_medicine_id);

	/**
	* Save an existing Medicine entity
	* 
	 */
	public CureMedicine saveCureMedicineMedicine(Integer id_2, Medicine related_medicine);

	/**
	* Return all CureMedicine entity
	* 
	 */
	public List<CureMedicine> findAllCureMedicines(Integer startResult, Integer maxRows);

	/**
	* Return a count of all CureMedicine entity
	* 
	 */
	public Integer countCureMedicines();

	/**
	* Load an existing CureMedicine entity
	* 
	 */
	public Set<CureMedicine> loadCureMedicines();

	/**
	* Delete an existing CureMedicine entity
	* 
	 */
	public void deleteCureMedicine(CureMedicine curemedicine);

	/**
	* Save an existing Unit entity
	* 
	 */
	public CureMedicine saveCureMedicineUnit(Integer id_3, Unit related_unit);

	/**
	* Save an existing CureMedicine entity
	* 
	 */
	public void saveCureMedicine(CureMedicine curemedicine_1);
}